﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Landscape.Business
{
    public enum MachineStatus
    {
        IN_USE = 0,
        STAND_BY,
        NOT_IN_USE,
        UNDER_REPAIR,
        UNDER_OVERHAUL,
        NOT_ONBOARD
    }

    public enum MachineCategory
    {
        UNDEFINED = 0,
        SYSTEM = 1,
        SUBSYSTEM = 2,
        EQUIPMENT = 3,
        COMPONENT = 4,
        SUBCOMPONENT = 5
    }

    public enum JobType
    {
        PLANNED,
        CORRECTIVE,
        BREAKDOWN
    }

    public enum JobLevel
    {
        MACHINE,
        CATEGORY
    }

    public enum Periodicity
    {
        RUNNING_HOURS,
        DAYS,
        MONTHS
    }

    public enum ScribeType
    {
        NORMAL,
        STATUS_UPDATE
    }

    public enum FeedbackType
    {
        POSITIVES,
        CORRECTIVE_ACTION,
        IMPROVEMENT_ACTION
    }

    public enum FeedbackStatus
    {
        OPEN,
        CLOSED
    }

    public enum ActionPriority
    {
        HIGH,
        NORMAL,
        LOW
    }

    public enum ActionType
    {
        /// <summary>
        /// Nothing Selected
        /// </summary>
        UNDEFINED,
        CORRECTIVE,
        IMPROVEMENT
    }

    public enum ActionSource
    {
        /// <summary>
        /// Nothing Selected
        /// </summary>
        UNDEFINED,
        /// <summary>
        /// Office External Audit
        /// </summary>
        OEA,
        /// <summary>
        /// Client Feedback
        /// </summary>
        CFB,
        /// <summary>
        /// Office Internal Audit
        /// </summary>
        OIA,
        /// <summary>
        /// Management Review
        /// </summary>
        MR,
        /// <summary>
        /// Office Input for Incident on Vessel
        /// </summary>
        INC,
        /// <summary>
        /// Office Input for NC Raised by Vessel
        /// </summary>
        NC,
        /// <summary>
        /// Office Input for Issue Raised by Vessel
        /// </summary>
        SCM,
        /// <summary>
        /// Emergency Management Feedback
        /// </summary>
        EM,
        /// <summary>
        /// Supply Alert
        /// </summary>
        SA,
        /// <summary>
        /// System Improvement
        /// </summary>
        SI,
        /// <summary>
        /// Project Interface
        /// </summary>
        PI,
        /// <summary>
        /// Morning Meeting
        /// </summary>
        MM
    }

    public enum ActionStatus
    {
        /// <summary>
        /// Nothing Selected
        /// </summary>
        UNDEFINED,
        NEW,
        RELEASED,
        INPROGRESS,
        WAIT_REVIEW,
        REWORK,
        WAIT_HSEQ,
        WAIT_OD,
        CLOSED
    }

    public enum ActionResponseStatus
    {
        NEW,
        RELEASED,
        APPROVED,
        REWORK
    }

    public enum ModulePrivilegeCodes
    {
        SEARCH,
        EDIT,
        DELETE,
        APPROVE,
        PRINT
    }

    public enum Locations
    {
        OFFICE,
        VESSEL
    }
}
